<include file="Public:_head" />
<include file="Public:left" />
<div id="neirong">
    
           
        <div id="Config">
            <ul class="MsgTips">
                <li class="change"><a href="#"><strong><img src="com_statics/images/icon11.png" alt="图片描述" />{$resume_count|default="0"}</strong><span>新增简历</span></a></li>
                <li><a href="#"><strong><img src="com_statics/images/icon12.png" alt="图片描述" />{$count_check|default="0"}</strong><span>总访问量</span></a></li>
            </ul>
            <span class="clear"></span>         
            <p class="Tips">待处理：新简历<em>{$resume_count|default="0"}</em>份，留言<em>{$mess_cou|default="0"}</em>条</p>
                    <div id="schemeList">
                            <h3 class="NavTitle">最新岗位管理</h3>
                        <ul>
                            <volist name="hiring" id="h">
                        <li><span><a href="javascript:void(0)" rate="{$h.hiring_id}" class="btn_03"><img src="com_statics/images/icon_r.gif" /></a>
                        <a href=""><img src="com_statics/images/icon_shuo.gif" /></a>
                        <a href="javascript:void(0)" rate="{$h.hiring_id}" class="btn_05"><img src="com_statics/images/icon_del.gif" /></a>
                        </span><a href="#" class="name">{$h.title} {$h.updateline|date="Y-m-d H:i:s",###}</a></li>
                        </volist>
                        
                        </ul>
                        
                        <span class="clear"></span>
                    </div>
                    <!-- schemeList结束 -->
    
        </div>
        <!-- Config结束 -->
        
        
    <div id="resume">
    
            <h3 class="NavTitle">最新简历</h3>
            
            <div class="resumeNr">
                    <volist name="list" id="vo">
                    <div class="resumeList">
                        <a href="" class="photo"><img src="{$vo.info.face.url}" alt="图片描述" /></a>
                        <strong class="name">{$vo.info.truename}（{$vo.info.xingbie|format_xingbie}，{$vo.info.shengri|format_age}岁）</strong>
                        <address>{$vo.info.tizhong}KG/{$vo.info.shengao}CM &nbsp;&nbsp;{$vo.info.xueli|getxueli} &nbsp;&nbsp;
                            <eq name="vo.resume.jingyan" value="0">无经验<else/>{$vo.resume.jingyan}年经验</eq></address>
                        <address>{$vo.info.pro|getareaname}-{$vo.info.city|getareaname}-{$vo.info.area|getareaname}</address>
                        <a href="#" class="from">{$vo.jobname}</a>
                        <span class="tel">电话：{$vo.info.phone}</span>
                        <a href="#" class="btn_grzl" value="{$vo.id}" title="点击查看简历详情">个人资料</a>
                        <if condition="$vo.resume.voice neq 0">
                        <a href="#" class="btn_lianxi" value="{$vo.id}" title="点击播放语音简历">联系</a>
                        </if>
                        <a href="#" class="btn_yuyue" value="{$vo.id}" title="点击预约面试">预约</a>
                        <a href="#" class="btn_del" value="{$vo.id}" title="点击删除">删除</a>
                    </div>
                    
                    
                    <div class="JingLi jingli{$vo.id}">
                <strong>工作经历</strong>
                <ul>
                    <volist name="vo.exper" id="eo">
                    <li><span>时间：</span><p>{$eo.jobbegin}&nbsp;到&nbsp;{$eo.jobend}</p></li>
                    <li><span>企业：</span>{$eo.jobname}</li>
                    <li><span>职务：</span>{$eo.jobzhiwei}</li>
                    </volist>
                </ul>
                <p><span>自我介绍：</span>{$vo.resume.myinfo}</p>
                
                <span class="close">&times;</span>
            </div>
            <!-- .JingLi结束 --> 
            
            
            <div class="del_RC del_rc{$vo.id}">
                <img src="com_statics/images/icon5.png" class="pic" />
                <strong>确定这个人才不合适吗？</strong>
                <p>点击<em>【确定】</em>虽然残酷，<br/>但可以节省他等待的心情！</p>
                <a href="" class="btn_sure" onclick="del({$vo.id})">确 定</a><a href="" class="btn_esc">取 消</a>
            </div>
            <!-- .del_RC结束 --> 
            
            
            <div class="yuyue_RC yuyue_rc{$vo.id}">
                <notempty name="vo.mtime">
                <p>&nbsp;</p>
                <p>
                已预约：{$vo.mtime}{$vo.time}{$vo.address}
                </p>
                </notempty>
                <form action="{:U('Resume/yuyue')}" method="post">
                <span>面试时间</span>
                <input name="mh_date" type="text"  class="text"/>
                <span>时间补充</span>
                <input name="time" type="text"  class="text" placeholder="下午两点到六点"/>
                <span>面试地址</span>
                <input name="address" type="text"  class="text"/> 
                <input type="hidden" name="id" value="{$vo.id}" />
                <empty name="vo.mtime">
                <input class="btn_Yuyue" type="submit" value="预约">
                <else/>
                <input class="btn_Yuyue" type="submit" value="重新预约">
                </empty>
                <!-- <a href="" class="btn_Yuyue" type="submit">预约</a>  -->
            </form>
                <span class="close">&times;</span>
            </div>
            <!-- .yuyue_RC结束 --> 
            
            
            <div class="yuying yu{$vo.id}">
            
                <img src="com_statics/images/1.png" class="pic" />
             <span class="close">&times;</span>
            </div>
            
       </volist>   
            
            
            
            </div>
            
          
    </div>
    <!-- resume结束 -->
        <a href="{:U('Resume/resume_list')}" style="text-decoration:none;"><h3 class="NavTitle" style="margin:20px auto;width:50%;align:center;">查看更多简历 >>>></h3></a>
            
        
        
        
        
        
        

    </div>
    <!-- neirong结束 -->


    <span class="clear"></span>
    <!-- 清除浮动 -->

<script type="text/javascript">
$('.btn_03').click(function(){
            element = $(this);
            hid = element.attr('rate');
            $.post("{:U('Hiring/refresh_hiring')}",{hid:hid},function(res){
                if(res.status){
                    alert("刷新成功！");
                    location.reload();
                }
            },'json');
        });
        $('.btn_05').click(function(){
            element = $(this);
            hid = element.attr('rate');
            $.post("{:U('Hiring/del_hiring')}",{hid:hid},function(res){
                if(res.status){
                    location.reload();
                }
            },'json');
        });
$(".btn_grzl .btn_lianxi").click(function(){
    var val = $(this).attr('value');

    $.post("{:U('Resume/edit_check')}", { "id": val},
       function(data){
        if (data.status==1) {
          return true;  }
       }, "json");
})
                                function del(val){
                                    $.post("{:U('Resume/del_send_resume')}", { "id": val},
                                       function(data){
                                        if (data.status==1) {
                                          location.replace(location.href);  }
                                       }, "json");
                                            
                                }
</script>
</div>
<!-- container结束 -->
<!-- container结束 -->
<include file="Public:bottom" />